
{include template('header','common')}
<div style=" background:url({THEME_STYLE_PATH}style/images/bgr.gif)">
<link href="{THEME_STYLE_PATH}style/css/dama.css" type="text/css" rel="stylesheet" />
</div>
<div id="Mainbox">
	{include template('sidebar_login','common')}
	<!-- 顶端公告 -->
		{include template('top_advance','common')}
		<!--左侧-->
		<div class="Inside_left">
				<!--打码-->
				<div class="Tycontent">
					<!--选项卡-->
					<div class="Tyc_opt" style="position:relative;"><img src="{THEME_STYLE_PATH}style/images/video_new.png" style="position:absolute; left:330px; top:-2px;">
					<a href="{U('document/Index/lists',array('catid'=>1))}" {if ACTION_NAME == 'lists'} class="tyc_opt_on" {else} class="tyc_opt_un"{/if}>任务分类</a>
					<a href="{U('document/Dama/tool')}" {if ACTION_NAME == 'tool'} class="tyc_opt_on" {else} class="tyc_opt_un"{/if}>打码辅助工具</a>
					<a href="{U('document/Dama/video')}" {if ACTION_NAME == 'video'} class="tyc_opt_on" {else} class="tyc_opt_un"{/if}>打码视频教程</a>
					<span class="re1">&nbsp;&nbsp;打码结算时间为：次日下午17:00</span>
					<a href="{U('Member/Captcha/dama_info')}" class="unty_btn" style=" margin-right:4px;">我的打码记录</a>
					</div>
					<!--选项卡-->
					<div class="tyzt_title" style="overflow:hidden;"><span class="od2">不换IP推荐任务</span>&nbsp;&nbsp;|&nbsp;&nbsp;打码时不需要重复切换IP
					</div>
					<!--打码表格模板-->
					<table class="Dmtable" border="0" cellpadding="0" cellspacing="1" bgcolor="efefef" width="674">
						<tbody>
							<tr>
								<td class="a1 title" bgcolor="#FFFFFF">任务名称</td>
								<td class="a2 title" bgcolor="#FFFFFF">每码价格</td>
								<td class="a3 title" bgcolor="#FFFFFF">是否换IP</td>
								<td class="a4 title" bgcolor="#FFFFFF">结算周期</td>
								<td class="a5 title" bgcolor="#FFFFFF">任务资源</td>
								<td class="a6 title" bgcolor="#FFFFFF">更新时间</td>
								<td class="a7 title" bgcolor="#FFFFFF">操作</td>
							</tr>
						{pc:document action="lists" where='is_changeip=0' num='20' catid='1'}
						{loop $data $d}
							<tr>
								<td class="a1" bgcolor="#FFFFFF"><a href="{$d[url]}">{$d[title]}（{$d[keywords]}）</a></td>
								<td class="a2" title="{$d[price]}" bgcolor="#FFFFFF"><span class="ofe"><strong>{$d[price]}</strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif" class="a1"></td>
								<td class="a3" bgcolor="#FFFFFF">{if $d[ischangeip]}是{else}否{/if}</td>
								<td class="a4" bgcolor="#FFFFFF">{$d[period]}天</td>
								<td class="a5" bgcolor="#FFFFFF">{$d[source]}</td>
								<td class="da3" bgcolor="#FFFFFF">{date('Y-m-d',$d[updatetime])}</td>
								<td class="a7" bgcolor="#FFFFFF"><a href="{$d[url]}" class="b40link">参与任务</a></td>
							</tr>
						{/loop}
						{/pc}			  
						</tbody>
			  		</table>
					<!--打码表格模板-->
					<div style="margin:0 auto; margin-bottom:10px; width:468px;">
						<script type="text/javascript">168*60</script>
						
					<!-- 广告位 -->

					</div>
					<div class="tyzt_title"><span class="od2">换IP推荐任务</span>&nbsp;&nbsp;|&nbsp;&nbsp;打码时需要重复切换IP
					</div>
					<!--打码表格模板-->
					<table class="Dmtable" border="0" cellpadding="0" cellspacing="1" bgcolor="efefef" width="674">
					  	<tbody>
					  		{pc:document action="lists" where="is_changeip=1" catid="1" num="10"}
					  		{loop $data $v}
						  <tr>
								<td class="a1" bgcolor="#FFFFFF"><a href="{$d[url]}">{$v[title]}（{$v[keywords]}）</a></td>
								<td class="a2" title="{$v[perice]}" bgcolor="#FFFFFF"><span class="ofe"><strong>{$v[price]}</strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif" class="a1"></td>
								<td class="a3" bgcolor="#FFFFFF">{if $d[ischangeip]}是{else}否{/if}</td>
								<td class="a4" bgcolor="#FFFFFF">{$v[period]}天</td>
								<td class="a5" bgcolor="#FFFFFF">{$v[source]}</td>
								<td class="da3" style="width: 100px;" bgcolor="#FFFFFF">{date('Y-m-d',$v[updatetime])}</td>
								<td class="a7" bgcolor="#FFFFFF"><a href="{$v[url]}" class="b40link">参与任务</a></td>
						  </tr>
						  {/loop}
						  {/pc}
					  	</tbody>
					</table>
					<!--打码表格模板-->
					<!--打码表格模板-->
					<div class="tyzt_title"><span class="d54">长期打码任务</span></div>
					<!--打码表格模板-->
					<table class="Dmtable" border="0" cellpadding="0" cellspacing="1" bgcolor="efefef" width="674">
						<tbody>
					  		{pc:document action="lists" where="end_time=0" catid="1" num="10"}
					  		{loop $data $u}
						  <tr>
								<td class="a1" bgcolor="#FFFFFF"><a href="{$u[url]}">{$u[title]}（{$u[keywords]}）</a></td>
								<td class="a2" title="{$u[perice]}" bgcolor="#FFFFFF"><span class="ofe"><strong>{$u[price]}</strong></span><img src="{THEME_STYLE_PATH}style/images/ub.gif" class="a1"></td>
								<td class="a3" bgcolor="#FFFFFF">{if $d[ischangeip]}是{else}否{/if}</td>
								<td class="a4" bgcolor="#FFFFFF">{$u[period]}天</td>
								<td class="a5" bgcolor="#FFFFFF">{$u[source]}</td>
								<td class="da3" style="width: 100px;" bgcolor="#FFFFFF">{date('Y-m-d',$u[updatetime])}</td>
								<td class="a7" bgcolor="#FFFFFF"><a href="{$u[url]}" class="b40link">参与任务</a></td>
						  </tr>
						  {/loop}
						  {/pc}
					  	</tbody>
					</table>
					<!--打码表格模板-->
				</div>
				<!--打码-->
				<div style="width: 715px;margin: 0 auto;margin-top: 10px;border: 1px solid #ddd;background: #ffffff;">
					<!-- 728 x 90 - 页首横幅 -->
				<!-- 广告位 -->	
				</div>
		</div>
		<!--左侧-->
		<!--右侧-->
	{include template('dama_right','common')}
		<!--右侧-->
		<div class="clear"></div>
		</div>
	<!--主体-->
	{include template('footer','common')}
	
<script type="text/javascript">
$(document).ready(function() {
		});
</script>
</body>
</html>